<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="ECSHOP v2.7.2">

<meta name="Keywords" content="">
<meta name="Description" content="">
<title><?php echo $catRow['cat_name']; ?>_布尔正装商城-职业装|面试正装|求职正装|男士正装|女士正装|正装衬衫-源于北京,服务全国</title>
<!--<link rel="shortcut icon" href="http://www.zhongyis.com/favicon.ico">-->
<!--<link rel="icon" href="http://www.zhongyis.com/animated_favicon.gif" type="image/gif">-->
<link type="text/css" rel="stylesheet" href="./view/front/css/style.css">
<link href="./view/front/css/bw.css" type="text/css" rel="stylesheet">
    <script src="./lib/ueditor/ueditor.config.js"></script>
</head>
<body>
    <div class="blockfull">

    <!-- 包含头部 -->
    <!--{include file="header.html"}-->
        <?php include('./view/front/header.html'); ?>

    <div class="blank"></div>
    </div>


<div id="mainbox" class="block clearfix">
	<div class="layout_2">
    	<div class="layout_left">
       		
          <div class="cate_tree">
            	<div class="lib_top">产品分类</div>
                <div class="lib_mid">
                	<ul>

                     <?php foreach($goodColunm as $v){ ?>
                         <li class="cate_level_<?php echo $v['lev']; ?>">
                             <a href="category.php?cat_id=<?php echo $v['cat_id']; ?>">
                                 <?php echo $v['cat_name']; ?>
                             </a>
                     <?php } ?>
                                                   
                    </ul>
                </div>
                <div class="lib_down"></div>
            </div>
            <div class="blank"></div>
            <div class="shop_left_lib">
            <div class="lib_top">销售排行</div>
              <div class="top10List clearfix">
                   <?php foreach($goodSell as $k=>$v){ ?>
                    <ul class="clearfix">
                    <img class="iteration" src="./view/front/images/top_<?php echo $k+1;?>.gif">

                      <a title="" href="./goods.php?goods_id=<?php echo $v['goods_id']?>">
                          <?php echo mb_substr($v['goods_name'],0,10,'utf-8'); ?>...</a><br>
                      本店售价：<font class="f1">￥<?php echo $v['shop_price'] ?>元</font><br>
                    </ul>
                    <?php } ?>
                </div>
            </div>
            <div class="blank5"></div>
            <div style="display: block;" id="history_div" class="shop_left_lib">
             <div class="lib_top">浏览历史</div>
             <div id="history_list" class="lib_mid">

                 <?php foreach($historyGoods as $v){ ?>
                 <ul class="clearfix">
                     <li class="goodsimg">
                         <a href="./goods.php?goods_id=<?php echo $v['goods_id']; ?>" target="_blank">
                             <img src="<?php echo $v['thumb_img']; ?>" alt="<?php echo $v['goods_name']; ?>" class="B_blue">
                         </a>
                     </li>
                     <li>
                         <a href="./goods.php?goods_id=<?php echo $v['goods_id']; ?>" target="_blank" title="<?php echo $v['goods_name']; ?>">
                             <?php echo mb_substr($v['goods_name'],0,16,'utf-8'); ?>
                         </a>
                         <br>本店售价:<font class="f1">￥<?php echo substr($v['shop_price'],0,6); ?>元</font><br>
                     </li>
                 </ul>
                 <?php } ?>

                 <ul id="clear_history">
                  <a href = "./category.php?cat_id=<?php echo $catId;?>&clear=1">[清空]</a>
                </ul>
            </div>
            <div class="lib_down"></div>
            </div>
            <div class="blank"></div>
        </div>

        <div class="layout_right">
          <div class="cat_ad">
          </div>



          当前位置: <a href="./index.php">首页</a>


           <?php foreach($cateTree as $v){ ?>
            <code>&gt;</code>
            <a href="category.php?cat_id=<?php echo $v['cat_id']; ?>">
                <?php echo $v['cat_name']; ?>
            </a>
           <?php } ?>

          <div class="blank"></div>



          <div class="shop_right_lib_comm">
           <div class="innerbox goods_list clearfix">

         <div style="height:20px; padding:0; padding:3px;" class="switch_dispstyle clearfix">
          <form name="listform" class="sort" method="GET">
          <div class="f_l">
          显示方式：
          <a onclick="javascript:display_mode('list')" href="#"><img alt="" src="./view/front/images/display_mode_list.gif"></a>
          <a onclick="javascript:display_mode('grid')" href="#"><img alt="" src="./view/front/images/display_mode_grid_act.gif"></a>
          <a onclick="javascript:display_mode('text')" href="#"><img alt="" src="./view/front/images/display_mode_text.gif"></a>&nbsp;&nbsp;

          </div>

          <div style=" padding:2px;" class="f_r">

          <a href="#"><img alt="按上架时间排序" src="./view/front/images/goods_id_default.gif"></a>
          <a href="#"><img alt="按价格排序" src="./view/front/images/shop_price_default.gif"></a>
          <a href="#"><img alt="按更新时间排序" src="./view/front/images/last_update_DESC.gif"></a>
          <input type="hidden" value="17" name="category">
          <input type="hidden" id="display" value="grid" name="display">
          <input type="hidden" value="0" name="brand">
          <input type="hidden" value="0" name="price_min">
          <input type="hidden" value="0" name="price_max">
          <input type="hidden" value="0" name="filter_attr">
          <input type="hidden" value="1" name="page">
          <input type="hidden" value="last_update" name="sort">
          <input type="hidden" value="DESC" name="order">

            </div></form>
        </div>

            <form onsubmit="" method="post" action="#" name="compareForm">

              <div class="grid">

                <!--<?php echo $v[''];?>-->
                <?php foreach($goodsData as $v){ ?>

               <div class="goodsItem">
                 <div class="goodsPic">

                   <a href="goods.php?goods_id=<?php echo $v['goods_id'];?>">
                    <img title="<?php echo $v['goods_name'];?>" class="zoom" src=" <?php echo $v['thumb_img'];?>">
                    <img alt="<?php echo $v['goods_name'];?>" src=" <?php echo $v['thumb_img'];?>"></a>
                  </div>
                  <div class="goodsInfo">

                   <div class="goodsSn">
                       <a class="f_pname" title=" <?php echo $v['goods_name'];?>" href="goods.php?goods_id=<?php echo $v['goods_id'];?>">
                           <?php echo $v['goods_name'];?>
                           <!--{$g.goods_name|truncate:10:'……'}-->
                       </a>
                   </div>
                   <span class="f_gray">市场价：</span>
                   <font class="f_market">￥ <?php echo $v['market_price'];?>元</font><br>
                   本店价：<font class="f_shop">￥ <?php echo $v['shop_price'];?>元</font><br>
                 </div>
               </div>


              <?php } ?>

             </div>

            </form>


        <div class="blank"></div>
        <script language="JavaScript" type="Text/Javascript">
        // &lt;!--
        // function selectPage(sel)
        // {
        //   sel.form.submit();
        // }
        //--&gt;
        </script>
        <!--<script type="text/javascript">-->
          <!--window.onload = function()-->
          <!--{-->
            <!--Compare.init();-->
            <!--fixpng();-->
          <!--}-->
          <!--var button_compare = '';-->
          <!--var exist = "您已经选择了%s";-->
          <!--var count_limit = "最多只能选择4个商品进行对比";-->
          <!--var goods_type_different = "\"%s\"和已选择商品类型不同无法进行对比";-->
          <!--var compare_no_goods = "您没有选定任何需要比较的商品或者比较的商品数少于 2 个。";-->
          <!--var btn_buy = "购买";-->
          <!--var is_cancel = "取消";-->
          <!--var select_spe = "请选择商品属性";-->
        <!--</script>-->
        </div>
        </div>
        <div style=" height:25px; background:#e6eaf3;height:25px; overflow:hidden">
          <form method="get" action="#" name="selectPageForm">
           <div class="pagebar" id="pager">
            <span style="margin-right:10px;" class="f_l f6">总计 <b><?php echo $total; ?></b>  个记录</span>
             <?php echo $showPage; ?>

          </div>
        </form>
        <script language="JavaScript" type="Text/Javascript">
          // &lt;!--
          // function selectPage(sel)
          // {
          //   sel.form.submit();
          // }
        //--&gt;
        </script>
        </div>
        </div>
    </div>


    <div class="blank"></div>

<!-- 引入尾部 -->
<!--{include file="footer.html"}-->
    <?php include('./view/front/footer.html'); ?>
</div>
</body></html>